package com.yanfan.energy.domain;


import com.yanfan.iot.domain.Device;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class EnergyTypeDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    //设备类型id
    private Integer id;
    //设备类型名称
    private String deviceName;
    //设备类型名称
    private Date createTime;
    //设备集
    private List<Device> deviceShortOutputs;
    //标识付
    private String title;

    public EnergyTypeDTO() {
    }

    public EnergyTypeDTO(Integer id, String deviceName, Date createTime, List<Device> deviceShortOutputs, String title) {
        this.id = id;
        this.deviceName = deviceName;
        this.createTime = createTime;
        this.deviceShortOutputs = deviceShortOutputs;
        this.title = title;
    }

    @Override
    public String toString() {
        return "EnergyTypeDTO{" + "id=" + id + ", deviceName='" + deviceName + '\'' + ", createTime=" + createTime + ", deviceShortOutputs=" + deviceShortOutputs + ", title='" + title + '\'' + '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<Device> getDeviceShortOutputs() {
        return deviceShortOutputs;
    }

    public void setDeviceShortOutputs(List<Device> deviceShortOutputs) {
        this.deviceShortOutputs = deviceShortOutputs;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
